package com.yyj.service;

import com.yyj.dao.CountDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CountService {
    @Autowired
    private CountDao countDao;

    public Integer getCount() {
        Integer allCount = countDao.getCount();
        return allCount;
    }

    public Integer getWaiteCount() {
        Integer waitCount = countDao.getWaitCount();
        return waitCount;
    }
    public Integer getOutCount() {
        Integer outCount = countDao.getOutCount();
        return outCount;
    }
    public Integer getReviewCount() {
        Integer reviewCount = countDao.getReviewCount();
        return reviewCount;
    }
    public Integer getCompleteCount() {
        Integer completeCount = countDao.getCompleteCount();
        return completeCount;
    }
}
